<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        .box {
            width: 200px;
            height: 270px;
            margin: 300px auto;
            position: relative;
        }

        img {
            width: 100%;
            height: 100%;
            position: absolute;
            top: 0;
            left: 0;
            /* 添加过渡 */
            transition: transform 2s;
            /* 改变旋转中心点 */
            transform-origin:  10% 10%;
        }

        .box:hover>img:nth-child(6) {
            transform: rotate(60deg);
        }
        .box:hover>img:nth-child(5) {
            transform: rotate(120deg);
        }
        .box:hover>img:nth-child(4) {
            transform: rotate(180deg);
        }
        .box:hover>img:nth-child(3) {
            transform: rotate(240deg);
        }
        .box:hover>img:nth-child(2) {
            transform: rotate(300deg);
        }
        .box:hover>img:nth-child(1) {
            transform: rotate(360deg);
        }
        
    </style>
</head>

<body>
    <div class="box">
        <img src="img/pk1.png" alt="">
        <img src="img/pk1.png" alt="">
        <img src="img/pk1.png" alt="">
        <img src="img/pk1.png" alt="">
        <img src="img/pk1.png" alt="">
        <img src="img/pk1.png" alt="">
    </div>
</body>

</html>